From: Joey Hess Date: Fri, 19 May 2023 17:53:21 +0000 (-0400) Subject: comment X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~40^2~151 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22Program/%22http:/www.example.com/cgi/%22https:/%22Program?a=commitdiff_plain;h=0184421a4d728502e0a087b15e9ff25c25f09af2;p=git-annex.git comment --- diff --git a/doc/bugs/dropkey_-z_does_not_drop_etc/comment_1_278595e3bb8fe54357ea3ee78f780ccf._comment b/doc/bugs/dropkey_-z_does_not_drop_etc/comment_1_278595e3bb8fe54357ea3ee78f780ccf._comment new file mode 100644 index 0000000000..ccadccf5d1 --- /dev/null +++ b/doc/bugs/dropkey_-z_does_not_drop_etc/comment_1_278595e3bb8fe54357ea3ee78f780ccf._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2023-05-19T17:39:29Z" + content=""" +You are piping non-null-terminated output into a command that needs +terminating nulls. So, it reads the entire findkeys output, including +newlines as the name of a key. And drops that key, which doesn't exist of +course. + +With `findkeys --print0`, it does work. It would also be fine to not use +`-z`, since keys should never actually contain a newline in their name. +"""]]